﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>

<% using (Html.BeginForm("ResultSearchPage", "Books"))
   { %>
    <div>
        <%: Html.DropDownList("DDLResType", ViewData["DDLResType"] as SelectList) %>
        <%: Html.DropDownList("DDLCatType", ViewData["DDLCatType"] as SelectList) %>
        <input id="txtSearch" type="text" name="txtSearch"/>
        <input type="submit" value="Find" />
    </div>
<%} %>